package cn.edu.zafu.bigdata.LiJuan.ch12;

public class Student {
    private String id;
    private String name;
    private String phone;

    public Student(){

    }

    public Student(String id,String name,String phone){
        this.id=id;
        this.name=name;
        this.phone=phone;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId(){
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

}
